package pl.edu.pw.polygen.db.dao;

import pl.edu.pw.polygen.beans.FileBean;
import pl.edu.pw.polygen.db.dao.generic.GenericDao;
import pl.edu.pw.polygen.db.entieties.PolyFile;

public interface PolyFileDao extends GenericDao<PolyFile,Long> {
	boolean isExisting(FileBean fileBean);
	
	FileBean saveFile(FileBean fileBean) ; 
	
	void removeFile(FileBean fileBean);
	
	FileBean findFile(String fileName, String projectName, Long userId);
	
	FileBean findFile(Long projectId);
}
